package 数组Array.一维数组.test03;

public class ArrayTest03 {
    public static void main(String[] args) {
        int[] x = {1,2,3,4,5};
        printArray(x);
    }
    public static void printArray(int[] array){
        for(int i = 0;i < array.length;i++){
            System.out.println(array[i]);
        }
    }
}
